﻿namespace FileStorageCenter.Services.Models;

/// <summary>
/// 用户
/// </summary>
[DisplayName("用户")]
public partial class User : EntityBase
{
    /// <summary>
    /// 帐号
    /// </summary>
    [DisplayName("帐号")]
    [MaxLength(8)]
    public string Account { get; set; } = string.Empty;

    /// <summary>
    /// 姓名
    /// </summary>
    [DisplayName("姓名")]
    [MaxLength(32)]
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 密码
    /// </summary>
    [DisplayName("密码")]
    [MaxLength(128)]
    public string Password { get; set; } = string.Empty;
}